package yunquan.wang.modules.base.service.impl;

import javax.annotation.Resource;

import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import yunquan.wang.base.dao.springdata.BaseRepository;
import yunquan.wang.base.service.impl.BaseServiceImpl;
import yunquan.wang.modules.base.dao.CodeTypeDao;
import yunquan.wang.modules.base.entity.CodeType;
import yunquan.wang.modules.base.service.CodeTypeService;

@Service("codeTypeService")
@Transactional(value = "jpaTransaction")
public class CodeTypeServiceImpl extends BaseServiceImpl<CodeType> implements
		CodeTypeService {
	@Resource
	private CodeTypeDao codeTypeDao;

	@Override
	public BaseRepository<CodeType, String> getDao() {
		return codeTypeDao;
	}

}
